package com.teamfractal.fracdustry.common.block.impl.misc;

import com.teamfractal.fracdustry.common.block.init.FDAbstractHDBlock;
import net.minecraft.core.BlockPos;
import net.minecraft.world.level.BlockGetter;
import net.minecraft.world.level.block.Block;
import net.minecraft.world.level.block.SoundType;
import net.minecraft.world.level.block.state.BlockState;
import net.minecraft.world.level.material.Material;
import net.minecraft.world.phys.shapes.CollisionContext;
import net.minecraft.world.phys.shapes.VoxelShape;

import javax.annotation.Nonnull;

public class FDResearchDeskBlock extends FDAbstractHDBlock {

    public FDResearchDeskBlock() {
        super(Properties.of(Material.WOOD).sound(SoundType.WOOD).strength(1F, 3F).noOcclusion());
    }

    @Nonnull
    @Override
    public VoxelShape getShape(@Nonnull BlockState state, @Nonnull BlockGetter world, @Nonnull BlockPos pos, @Nonnull CollisionContext context)
    {
        return Block.box(0,0,0,16,12,16);
    }
}
